var keyboard = [];
var wires = [];
var portbits = [];
var io = {};
var buttons = {};

function init()
{
	initWires()
	initKeybd()
	initPortbits()
	initIO()
	initButtons()
	refresh();
}

init();

